<template>
  <demo  >
    <template v-slot:qwe>
      <span>喂猪</span>
    </template>
    <template v-slot:asd>
      <span>喂猪</span>
    </template>
  </demo>
</template>

<script>
  // import {h} from 'vue'
  import Demo from './components/Demo.vue'

  export default {
    components: { Demo },
    name: 'App',
    setup(){
      function showHelloMsg(value){
        console.log('hello',value);
      }
      return {
        showHelloMsg,
      }
    },
    
  }
</script>

<style>
  #app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
  }
</style>
